package org.phmanago.core;

import org.phmanago.utils.ResourceManager;

public abstract class Attribute {
	
	protected String pName = null;
	protected String pDescr = null;
	
	public Attribute() {
		pName = ResourceManager.getKey("AttributeName");
		pDescr = ResourceManager.getKey ("AttributeDescription");
	}
	
	public Attribute(String name, String descr) {
		pName = name;
		pDescr = descr;
	}

	public String getPDescr() {
		return pDescr;
	}

	public void setPDescr(String descr) {
		pDescr = descr;
	}

	public String getPName() {
		return pName;
	}

	public void setPName(String name) {
		pName = name;
	}
	
	public String toString() {
		return pName + " " + pDescr;
	}
	
}
